package edu.nf.meituan.model.order.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nf.db.util.Column;

import java.math.BigDecimal;

/**
 * @Date 2023/6/20
 * @Author zgm
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserOrdersItem {
    /**
     * 订单id
     */
    @Column("order_id")
    private Integer orderId;
    /**
     * 订单类型
     */
    @Column("orders_type")
    private String ordersType;
    /**
     * 商品图片
     */
    @Column("items_picture")
    private String itemsPicture;
    /**
     * 总价
     */
    @Column("total_price")
    private BigDecimal totalPrice;
    /**
     * 商品id
     */
    @Column("items_id")
    private Integer itemsId;
    /**
     * 数量
     */
    @Column("quantity")
    private Integer quantity;
    /**
     * 商品名称
     */
    @Column("items_name")
    private String itemsName;
    /**
     * 商品价格
     */
    @Column("items_price")
    private BigDecimal itemsPrice;
}
